package com.xs.designs.duty_chain.chain;

import com.xs.designs.duty_chain.pojo.ProductDto;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

@Service
@Order(2)
//@Duty(type= {ProduckTypeConst.PRODUCT_GENERAL,ProduckTypeConst.PRODUCT_ACTIVITY},order = 20)
public class ProductActivityHandler extends IHandler<ProductDto,Boolean>{

    @Override
    public Boolean handle(ProductDto t) {
        System.out.println("2");
        // 处理促销信息
        return super.handle(t);
    }

}